import { createApp } from 'vue'
import App from './App.vue'
import Router from '@/tools/Router' 
import Store from './tools/Storage'
import ElementPlus from 'element-plus'
import 'element-plus/theme-chalk/index.css'
// 统一导入el-icon图标
import * as ElIconModules from '@element-plus/icons-vue'

const app = createApp(App)
app.use(Router)
app.use(Store)
app.use(ElementPlus)

for(const [key,component] of Object.entries(ElIconModules)){
    app.component(key,component)
}
app.mount('#app')
